package org.proddevplm.dao.api;

import java.util.List;

import org.proddevplm.dao.data.activities.Activity;

public interface IActivityMgmt {
	
	boolean addActivity(Activity activity);
	
	List<Activity> getActivitiesByProductId(int productId);
	
	Activity getActivityByNameandProductId(String name, int productId);
	
	boolean updateActivity(Activity activity);
	
	List<Activity> getActivityByUserandProductId(String user, int productId);
	
	List<Activity> getActivityByRoleandProductId(String role, int productId);
	
	boolean removeActivity(String name, int productId);

}
